Skip to content

Conversation

AngusFu
Copy link
Contributor

@AngusFu AngusFu commented Jul 27, 2024

Fixed #4

  const template = compiler.compileTemplate({
    ...templateOptions,
    sourceMap: true,
    compilerOptions: {
      ...templateOptions.compilerOptions,
+    // https://github.com/vuejs/repl/blob/2daac718a212e61d200cecdfc3623535bd0196a9/src/transform.ts#L167C7-L167C15
+    bindingMetadata: script.bindings,
    }
  });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

无法处理 <script setup></script> 的情况 ?

1 participant